<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Main Page</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .container {
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            padding: 30px;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: -399px;
            position: relative; /* 添加相对定位 */
        }
        .header {
            text-align: center;
            color: #333;
            margin-bottom: 20px;
        }
        .user-info {
            width: 100%;
            /*display: flex;*/
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .user-welcome {
            width: 100%;
            font-size: 20px;
            color: #28a745;
            text-align: left;
        }
        .user-details {
            margin-top: 20px;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-left: 12px;
            padding-right: 12px;
        }
        /* 将 logout 链接移动到右上角 */
        .logout-link {
            position: absolute; /* 绝对定位 */
            top: 20px; /* 距离顶部 20px */
            right: 20px; /* 距离右侧 20px */
        }
        .logout-link1 {
            position: absolute; /* 绝对定位 */
            top: 80px; /* 距离顶部 20px */
            right: 20px; /* 距离右侧 20px */
        }
    </style>
</head>
<body>
<div class="container">
    <div class="header">
        <h2 style="color: #dfd6d6;text-align: center">学生信息管理系统</h2>
        <div class="user-info">
            <h2 class="user-welcome">欢&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;迎, 邓其东!</h2>
        </div>
        <div class="user-info">
            <h2 class="user-welcome">学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号: 2024521115</h2>
        </div>
        <div class="user-info">
            <h2 class="user-welcome">班&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;级: 软件(3+2)2022-02班</h2>
        </div>
        <div class="user-info">
            <h2 class="user-welcome">联系电话: 13088838348</h2>
        </div>
        <div class="user-info">
            <h2 class="user-welcome">家庭住址: 重庆奉节</h2>
        </div>
        <div class="user-info">
            <h2 class="user-welcome">专&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;业: 软件工程</h2>
        </div>
        <div class="user-info">
            <h2 class="user-welcome">籍&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;贯: 重庆奉节</h2>
        </div>
        <a href="logout" class="logout-link">logout</a>
        <a href="PersonalInfo" class="logout-link1">个人信息</a>
    </div>
</div>
</body>
</html>